<script type="text/javascript">

	function tailHistory(user_id){
		var url = "/Product/productHistory?g_id="+user_id+"&curPage=1";
		doPost(url,'','historyDiv');		
	}
	
	function convertHistory(user_id){
		var url = "/Product/changeHistory?g_id="+user_id+"&curPage=1";
		doPost(url,'','convertHistoryDiv');		
	}

</script>

<div class="mytab">信息统计</div>
<?php require_once('statistics.ctp'); ?>
<div class="mytab">申请成功记录</div>
<div id="historyDiv"></div>
<div class="mytab">积分兑换记录</div>
<div id="convertHistoryDiv"></div>
<script type="text/javascript">
tailHistory(<?=$user_id;?>);
convertHistory(<?=$user_id;?>);
</script>

<?php /*
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="record_bg">
		
<tr>
     <td height="36">&nbsp;</td>
     <td>
     	<table width="100%" height="36" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="23%" class="tab_a" align="center"><a href="javascript:tailHistory(<?php echo $user_id;?>);"><font id="tarilBgId" color="#FF0000">试用记录</font></a></td>
              <td width="4%">&nbsp;</td>
              <td width="22%" class="tab_a" align="center"><a href="javascript:convertHistory(<?php echo $user_id;?>);"><font id="convertBgId">兑换记录</font></a></td>
              <td width="51%">&nbsp;</td>
            </tr>
        </table>
     </td>
     <td>&nbsp;</td>
</tr>
<tr>
 <td height="10">&nbsp;</td>
</tr>
<tr>
	<td colspan="3">
		<div id="historyDiv">
			<?php require_once('try_trail_history.ctp'); ?>
		</div>	
	</td>
</tr>
<tr>
    <td colspan="3" height="55">&nbsp;</td>
</tr>
</table>
*/ ?>